#!/bin/sh
cd /usr/node
git remote set-url origin https://gitee.com/watermelon_peel/kuaicdn.git
git reset --hard
echo "git pull拉取最新代码..."
git pull --rebase
chmod -Rf 0755 /usr/node
echo "git pull拉取完成..."
cd /kuaicdn/app
/usr/node/start.sh